package com.zl.service.impl;

import com.zl.dao.LoginDao;
import com.zl.pojo.User;
import com.zl.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl  implements LoginService {
    @Autowired
    private LoginDao ld;
    @Override
    public User login(User user) {
        return ld.login(user);
    }
}
